#pragma once
#include "UserManager.h"
#include <thread>
#include <vector>
#include <winsock2.h>

class ChatServer {
  private:
    SOCKET listenSocket;
    UserManager userManager;
    bool running = true;
  public:
    bool start(int port = 8080);
    void stop();
    ~ChatServer();
};